package com.pzj.dormitory.mapper;
import org.apache.ibatis.annotations.Param;

import com.pzj.dormitory.entity.Dormitory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-04-28
 */
public interface DormitoryMapper extends BaseMapper<Dormitory> {

    int subAvailableById( @Param("id") Integer id);

    int addAvailableById( @Param("id") Integer id);

    Integer findAvailableDorId();


}
